/* 头部样式 */
header{
    width: 100%;
    height: 65px;
    line-height: 65px;
    border-bottom: 1px solid #aec7ec;
}

header .logo{
    margin-top: 20px;
    margin-left: 30px;
}

header ul{
    top: 0px;
    /* 居中 */
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
}

header ul li{
    float: left;
    margin: 0 20px;
}

/* 选中效果 */
header ul li.active a{
    border-bottom: 2px solid #00bdff;
    padding-bottom: 20px;
    font-size: 16px;
}

header .logoin{
    margin-right: 30px;
}

header .logoin a{
    font-size: 12px;
    padding: 6px 15px;
    box-sizing: border-box;
    border: 1px solid #aac6ef;
    border-radius: 15px;
}

header .logoin a.register{
    border: 1px solid #ed510a;
    background-color: #ed510a;
    margin-left: 10px;
}



/* classfly */
#classfly{
    margin-top: 50px;
    margin-bottom: 65px;
}

#classfly a{
    display: inline-block;
    padding: 5px 15px;
    color: #666666;
    border: 1px solid #666666;
    border-radius: 5px;
    font-size: 12px;
    margin-bottom: 10px;
    margin-right: 10px;
    cursor: pointer;
}

#classfly a:hover{
    border: 1px solid #00bdff;
    color: #00bdff;
}

#classfly a.active{
    border: 1px solid #00bdff;
    color: #00bdff;
}




/* all */
#all{
    margin-bottom: 45px;
}

#all .tittle input{
    outline: none;
    width: 230px;
    height: 28px;
    border-radius: 14px;
    border: none;
    background-color: #f4f4f4;
    padding: 0 20px;
    margin-left: 20px;
    box-sizing: border-box;
}

#all .tittle img{
    position: absolute;
    left: 300px;
    top: 5px;
}

#all .tittle{
    line-height: 28px;
}

#all .tittle #key{
    position: absolute;
    left: 90px;
}

#all .tittle{
    margin-bottom: 22px;
}

#all .list{
    margin-bottom: 15px;
}

#all .list li{
    text-align: center;
    width: 228px;
    height: 270px;
    box-sizing: border-box;
    padding: 18px 18px 18px 18px;
    border: 1px solid #eeeeee;
    float: left;
    margin-right: 12px;
    overflow: hidden;
}

#all .list li:last-of-type{
    margin-right: 0px;
}

#all .list li:hover button{
    bottom: 18px;
}

#all .list li button{
    background-color: #00bdff;
    border: none;
    color: #fff;
    width: 190px;
    height: 32px;
    position: absolute;
    bottom: -33px;
    cursor: pointer;
    transition: all 500ms;
    display: block;
}

#all .list li img{
    margin-top: 45px;
}

#all .list li .desc{
    color: #666666;
    font-size: 12px;
    margin-bottom: 12px;
    margin-top: 18px;
}

#all .list li .free{
    color:#29c287;
}

#all .list li .money{
    color: #ff546b;
}

#all .list li .stittle{
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px 4px 0px;
    background-color: #e5f8ff;
    display: none;
}

#all .list li .on{
    display: block;
}


/* page */
#page{
    margin-bottom: 68px;
}

#page a{
    width: 24px;
    height: 24px;
    line-height: 24px;
    display: inline-block;
    border-radius: 12px;
    color:#000000;
    cursor: pointer;
    user-select: none;
}

#page a:hover{
    background-color: #00bdff;
    color: #fff;
}

#page a.active{
    background-color: #00bdff;
    color: #fff;
}

#page a:nth-of-type(9),
#page a:nth-of-type(10){
    width: 60px;
}

#page a:nth-of-type(9):hover,
#page a:nth-of-type(10):hover{
    background-color: #fff;
    color: #000;
    width: 60px;
}